<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>mootools.js  测试</title>
		<script src="../../common/libs/mootools.js" type="text/javascript"></script>
		
		<script src="../../common/project/project.js" type="text/javascript"></script>
		<script src="../../common/assets/scripts/default.js" type="text/javascript"></script>
		<script src="../../common/assets/scripts/debug.js" type="text/javascript"></script>
    </head>
    <body>
       <div style="background: yellow;" id="a">
				<div style="background: red; width:200px;" id="aa">id=aa<div style="background: black; color:white" id="aba">id=aba</div></div>
				<div style="background: green;" id="ab">id=ab<input type="button" name="button" id="button" value="子控件" /></div>
			</div>
			<hr>
        <script>
        	var a = $('a'), aa = $('aa'), aaa = $('aa'), ab = $('ab'), s = new Elements(), f = $('f'), t = $('t');
				s.push(ab); s.push(aaa);
				
				
				var fns = [
					["Element.prototype.addEvent", function(){ return a.addEvent('click', log); }],
					["Element.prototype.removeEvent", function(){ return a.removeEvent('click'); }],
					["Element.prototype.fireEvent", function(){ return a.fireEvent('click'); }]
				];
        </script>
    </body>
</html>
